home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000153_michel.chamberland@jtax.com_Thu Jun 12 15:49:49 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  62 lines

  1. Article: 14381 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: michel.chamberland@jtax.com (mchamber)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: HTTP Proxy in ckermit
  6. Date: 12 Jun 2003 12:24:13 -0700
  7. Organization: http://groups.google.com/
  8. Lines: 44
  9. Message-ID: <f270e7b1.0306121124.4e268ecd@posting.google.com>
  10. NNTP-Posting-Host: 198.151.35.6
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1055445854 5713 127.0.0.1 (12 Jun 2003 19:24:14 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: 12 Jun 2003 19:24:14 GMT
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14381
  17.  
  18. Hi, I am trying to write a small script to download pages via a proxy
  19. using the http protocol. Somehow though it seems that kermit is
  20. ignoring the "SET TCP HTTP-PROXY 192.168.40.1:8080" command and tries
  21. to connect directly to the host. As you can see from the output below
  22. kermit says its trying to connect to the iternet address instead of
  23. the 192.168.40.1 proxy. Any pointers would be greatly appreciated.
  24.  
  25. Sincerely,
  26. mchamber
  27.  
  28.  
  29. Here is the relevant part of the script:
  30.  
  31. <snip>
  32. #!/usr/bin/kermit +
  33.  
  34. SET TCP HTTP-PROXY 192.168.40.1:8080
  35. HTTP OPEN www.slashdot.org 80
  36. http close
  37. quit
  38. </snip>
  39.  
  40. Here is the output of the script:
  41.  
  42. <snip>
  43. C-Kermit 8.0.201, 8 Feb 2002, for Linux
  44.  Numeric: 800201
  45.  Type COPYRIGHT for copyright information.
  46.  
  47. SET TCP parameters:
  48.  Reverse DNS lookup: off
  49.  DNS Service Records lookup: off
  50.  Keepalive: on
  51.  Linger: off
  52.  DontRoute: off
  53.  Nodelay: off
  54.  Send buffer: (default size)
  55.  Receive buffer: (default size)
  56.  address: (none)
  57.  http-proxy: 192.168.40.1:8080
  58.  
  59.  DNS Lookup...  Trying 66.35.250.151... Failed: Connection timed out
  60. ?HTTP Connection failed.
  61. </snip>
  62.